<div class="row" ng-controller="moveCtr">
	<div class="col-md-12">
	  <table class="table">
			<tbody>
				<tr>
					<td></td>
					<td></td>
					<td></td>
					<td class="text-right"><a ui-sref='index.move.add' class="label label-primary ">添加</a></td>
				</tr> 
			</tbody>
		</table>
		<table class="table table-bordered">
			<thead>
				<tr>
				<th>id</th>
					<th>标题</th>
					<th>简介</th>
					<th>类别</th>
					<th>发布时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>

				<tr ng-repeat="val in myData" ng-if="myData.length>0">
					<th scope="row" >{{val.id}}</th>
					<td>{{val.title}}</td>
					<td style="width: 52%;height:30px">{{val.intro}}</td>
					<td>{{val.id}}</td>
					<td>{{val.createtime}}</td>
					<td style="width: 160px;">
						<a ng-click="get(val.id)" class="label label-primary ">详情</a>&nbsp;&nbsp;
					<a href="#/index/move/{{category_id}}/edit/{{val.id}}" class="label label-primary ">编辑</a>
					<a  class="label label-primary" ng-click="del(val.id)">删除</a>&nbsp;&nbsp;
					</td>
				</tr>
				<tr ng-if="myData.length==0">
					<td style="text-align:center" colspan="7">暂无数据.....</td>
				</tr>
			</tbody>
		</table>
		<ul uib-pagination boundary-links="true" ng-change="pageChanged()" total-items="totalItems" ng-model="currentPage" class="pagination-sm" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></ul>
	</div>
</div>